package com.asm;

abstract public class MemoryReference extends Operand implements Comparable<MemoryReference> {
    public boolean isMemoryReference() {
        return true;
    }

    abstract public void fixOffset(long diff);

    abstract protected int cmp(DirectMemoryReference mem);

    abstract protected int cmp(IndirectMemoryReference mem);

    abstract public int getOffset();
}
